Frictionless mechanics